<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>二维码</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group" style="align-content: center;text-align: center;">
                    	<img src="{$img}"   id="qr_image" alt="二维码"  style="align-content: center;width: 300px;height: 300px;"/>
                    </div>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-4">
                        <div class="btn-toolbar">
                        	<input type="hidden" id="file_name" value="{$file_name}" />
                        	<input type="hidden" id="shop_id" value="{$shop_id}" />
                            <button class="btn-primary btn" id="qr_download">下载</button>
                            <button class="btn-default btn" data-dismiss="modal" style="margin-left: 50px;">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}staff/qrcode.js'></script>